__author__ = 'tsdykj'

import dbobjects

users = dbobjects.pdfusers


class pdf_users(users):

    @staticmethod
    def user_exists(username, password):
        if users.find_one({'username': username, 'password':password}):
            return True
        else:
            return False


